home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / pc / egyptw.dir / 01718_Script_Women < prev    next >
Text File  |  1995-09-13  |  12KB  |  447 lines

  1. global gQuest, gBeenClicked
  2.  
  3. on EWomenRollovers1
  4.   set gBeenClicked = 0
  5.   if (not(CheckClickedStatus(gQuest))) then
  6.     if rollover(7) or rollover(8) then
  7.       repeat while rollover(7) or rollover(8)
  8.         EgyptCursor
  9.         puppetsprite 11, true
  10.         set the locH of sprite 11 to 406
  11.         set the locV of sprite 11 to 255
  12.         updatestage
  13.         if the mousedown then
  14.           set GBeenClicked = 1
  15.         else
  16.           if gBeenClicked = 1 then
  17.             repeat while gBeenClicked = 1
  18.               ReepingMen
  19.             end repeat
  20.           end if
  21.         end if
  22.       end repeat
  23.       set the locH of sprite 11 to 906
  24.       puppetsprite 11, false
  25.       updatestage
  26.     else
  27.       if rollover(6) then
  28.         EgyptCursor
  29.         repeat while rollover(6)
  30.           set the locH of sprite 12 to 242
  31.           set the locV of sprite 12 to 302
  32.           updatestage
  33.           if the mousedown then
  34.             set GBeenClicked = 1
  35.           else
  36.             if gBeenClicked = 1 then
  37.               repeat while gBeenClicked = 1
  38.                 AnimateloopFast 6, 1095, 3, "SE340301.AIF", 3
  39.               end repeat
  40.             end if
  41.           end if
  42.         end repeat
  43.         set the locH of sprite 12 to 942
  44.         updatestage
  45.       else
  46.         if rollover(9) then
  47.           ArrowCursor
  48.           repeat while rollover(9)
  49.             set the locH of sprite 10 to 419
  50.             set the locV of sprite 10 to 150
  51.             updatestage
  52.           end repeat
  53.           set the locH of sprite 10 to 919
  54.           updatestage
  55.         else
  56.           if rollover(13) then
  57.             repeat while rollover(13)
  58.               ArrowCursor
  59.               set the locH of sprite 14 to 358
  60.               set the locV of sprite 14 to 281
  61.               updatestage
  62.             end repeat
  63.             set the locH of sprite 14 to 958
  64.             updatestage
  65.           else
  66.             if rollover(15) then
  67.               repeat while rollover(15)
  68.                 ArrowCursor
  69.                 set the locH of sprite 16 to 304
  70.                 set the locV of sprite 16 to 151
  71.                 updatestage
  72.               end repeat
  73.               set the locH of sprite 16 to 904
  74.               updatestage
  75.             else
  76.               if rollover(17) then
  77.                 repeat while rollover(17)
  78.                   ArrowCursor
  79.                   set the locH of sprite 28 to 513
  80.                   set the locV of sprite 28 to 297
  81.                   updatestage
  82.                 end repeat
  83.                 set the locH of sprite 28 to 913
  84.                 updatestage
  85.               else
  86.                 if rollover(40) then
  87.                   HandCursor
  88.                 else
  89.                   if rollover(41) then
  90.                     HandCursor
  91.                   else
  92.                     if rollover(42) then
  93.                       HandCursor
  94.                     else
  95.                       ArrowCursor
  96.                     end if
  97.                   end if
  98.                 end if
  99.               end if
  100.             end if
  101.           end if
  102.         end if
  103.       end if
  104.     end if
  105.   end if
  106.   RandomQuestion(gQuest)
  107. end
  108.  
  109. on EWomenRollovers2
  110.   set gBeenClicked = 0
  111.   if (not(CheckClickedStatus(gQuest))) then
  112.     if rollover(40) then
  113.       repeat while rollover(40)
  114.         EgyptCursor
  115.         puppetsprite 16, true
  116.         set the locH of sprite 16 to 295
  117.         set the locV of sprite 16 to 358
  118.         updatestage
  119.         if the mousedown then
  120.           set GBeenClicked = 1
  121.         else
  122.           if gBeenClicked = 1 then
  123.             repeat while gBeenClicked = 1
  124.               DancingGirls
  125.             end repeat
  126.           end if
  127.         end if
  128.       end repeat
  129.       set the locH of sprite 16 to 995
  130.       puppetsprite 16, false
  131.       updatestage
  132.     else
  133.       if rollover(12) then
  134.         ArrowCursor
  135.         repeat while rollover(12)
  136.           set the locH of sprite 13 to 325
  137.           set the locV of sprite 13 to 289
  138.           updatestage
  139.         end repeat
  140.         set the locH of sprite 13 to 925
  141.         updatestage
  142.       else
  143.         if rollover(14) then
  144.           repeat while rollover(14)
  145.             EgyptCursor
  146.             set the locH of sprite 15 to 367
  147.             set the locV of sprite 15 to 337
  148.             updatestage
  149.             if the mousedown then
  150.               Puppetsound "se340900.AIF"
  151.             end if
  152.           end repeat
  153.           set the locH of sprite 15 to 967
  154.           updatestage
  155.         else
  156.           if rollover(17) then
  157.             repeat while rollover(17)
  158.               EgyptCursor
  159.               set the locH of sprite 18 to 358
  160.               set the locV of sprite 18 to 196
  161.               updatestage
  162.               if the mousedown then
  163.                 Puppetsound "PE341100.AIF"
  164.               end if
  165.             end repeat
  166.             set the locH of sprite 18 to 958
  167.             updatestage
  168.           else
  169.             if rollover(19) then
  170.               repeat while rollover(19)
  171.                 ArrowCursor
  172.                 set the locH of sprite 20 to 317
  173.                 set the locV of sprite 20 to 257
  174.                 updatestage
  175.               end repeat
  176.               set the locH of sprite 20 to 917
  177.               updatestage
  178.             else
  179.               if rollover(21) then
  180.                 repeat while rollover(21)
  181.                   EgyptCursor
  182.                   set the locH of sprite 22 to 305
  183.                   set the locV of sprite 22 to 291
  184.                   updatestage
  185.                   if the mousedown then
  186.                     set GBeenClicked = 1
  187.                   else
  188.                     if gBeenClicked = 1 then
  189.                       set the locH of sprite 22 to 905
  190.                       updatestage
  191.                       repeat while gBeenClicked = 1
  192.                         MourningGirls
  193.                       end repeat
  194.                     end if
  195.                   end if
  196.                 end repeat
  197.                 set the locH of sprite 22 to 905
  198.                 updatestage
  199.               else
  200.                 if rollover(39) then
  201.                   HandCursor
  202.                 else
  203.                   if rollover(41) then
  204.                     HandCursor
  205.                   else
  206.                     if rollover(42) then
  207.                       HandCursor
  208.                     else
  209.                       ArrowCursor
  210.                     end if
  211.                   end if
  212.                 end if
  213.               end if
  214.             end if
  215.           end if
  216.         end if
  217.       end if
  218.     end if
  219.   end if
  220.   RandomQuestion(gQuest)
  221. end
  222.  
  223. on ReepingMen
  224.   ArrowCursor
  225.   set gAnimationcast1 = 1098
  226.   set gAnimationcast2 = 1092
  227.   set count = 0
  228.   puppetsound "SE340401.AIF"
  229.   repeat while count < 2 and (the mouseUp)
  230.     set the castnum of sprite 7 = gAnimationcast1 + 1
  231.     updatestage
  232.     wait .2
  233.     if (the mousedown) then 
  234.       exit repeat
  235.     end if
  236.     set the castnum of sprite 7 = gAnimationcast1 + 2
  237.     updatestage
  238.     if (the mousedown) then 
  239.       exit repeat
  240.     end if
  241.     wait .2
  242.     set the castnum of sprite 7 = gAnimationcast1 + 1
  243.     updatestage
  244.     if (the mousedown) then 
  245.       exit repeat
  246.     end if
  247.     wait .2
  248.     set the castnum of sprite 7 = gAnimationcast1
  249.     set the castnum of sprite 8 = gAnimationcast2 + 1
  250.     updatestage
  251.     if (the mousedown) then 
  252.       set animating = 0
  253.       exit repeat
  254.     end if
  255.     wait .2
  256.     set the castnum of sprite 7 = gAnimationcast1 + 1
  257.     set the castnum of sprite 8 = gAnimationcast2 + 2
  258.     updatestage
  259.     if (the mousedown) then 
  260.       set animating = 0
  261.       exit repeat
  262.     end if
  263.     wait .2
  264.     set the castnum of sprite 7 = gAnimationcast1 + 2
  265.     set the castnum of sprite 8 = gAnimationcast2 + 1
  266.     updatestage
  267.     if (the mousedown) then 
  268.       set animating = 0
  269.       exit repeat
  270.     end if
  271.     wait .2
  272.     set the castnum of sprite 7 = gAnimationcast1 + 1
  273.     set the castnum of sprite 8 = gAnimationcast2 + 2
  274.     updatestage
  275.     if (the mousedown) then 
  276.       set animating = 0
  277.       exit repeat
  278.     end if
  279.     wait .2
  280.     set the castnum of sprite 7 = gAnimationcast1
  281.     set the castnum of sprite 8 = gAnimationcast2
  282.     updatestage
  283.     if (the mousedown) then 
  284.       set animating = 0
  285.       exit repeat
  286.     end if
  287.     wait .2
  288.     set count = count + 1
  289.   end repeat
  290.   set the castnum of sprite 7 = gAnimationcast1
  291.   set the castnum of sprite 8 = gAnimationcast2
  292.   updatestage
  293.   puppetsound 0
  294.   set gBeenClicked = 0
  295. end
  296.  
  297. on DanceGirl1ON
  298.   set the locH of sprite 6 to 81
  299.   set the locV of sprite 6 to 361
  300.   updatestage
  301. end
  302.  
  303. on DanceGirl1OFF
  304.   set the locH of sprite 6 to -181
  305.   updatestage
  306. end
  307.  
  308. on DanceGirl2ON
  309.   set the locH of sprite 7 to 164
  310.   set the locV of sprite 7 to 364
  311.   updatestage
  312. end
  313.  
  314. on DanceGirl2OFF
  315.   set the locH of sprite 7 to -181
  316.   updatestage
  317. end
  318.  
  319. on DancingGirls
  320.   ArrowCursor
  321.   puppetsprite 6, true
  322.   puppetsprite 7, true
  323.   set count = 0
  324.   puppetsound "SE341001.AIF"
  325.   repeat while count < 4 and (the mouseUp)
  326.     DanceGirl1ON
  327.     wait .3
  328.     if (the mousedown) then 
  329.       exit repeat
  330.     end if
  331.     DanceGirl1Off
  332.     DanceGirl2ON
  333.     wait .3
  334.     DanceGirl2Off
  335.     if (the mousedown) then 
  336.       set animating = 0
  337.       exit repeat
  338.     end if
  339.     wait .3
  340.     DanceGirl1On
  341.     if (the mousedown) then 
  342.       set animating = 0
  343.       exit repeat
  344.     end if
  345.     wait .3
  346.     DanceGirl2On
  347.     if (the mousedown) then 
  348.       set animating = 0
  349.       exit repeat
  350.     end if
  351.     wait .3
  352.     DanceGirl1Off
  353.     DanceGirl2Off
  354.     if (the mousedown) then 
  355.       set animating = 0
  356.       exit repeat
  357.     end if
  358.     wait .3
  359.     set count = count + 1
  360.   end repeat
  361.   DanceGirl1OFF
  362.   DanceGirl2OFF
  363.   updatestage
  364.   puppetsprite 6, false
  365.   puppetsprite 7, false
  366.   sound fadeout 1, 2*60
  367.   set gBeenClicked = 0
  368. end
  369.  
  370. on MourningGirls
  371.   ArrowCursor
  372.   puppetsprite 9, true
  373.   puppetsprite 10, true
  374.   puppetsprite 11, true
  375.   set gAnimationcast1 = 1076
  376.   set count = 0
  377.   puppetsound "SE341301.AIF"
  378.   repeat while count < 2 and (the mouseUp)
  379.     MournGirl1ON
  380.     MournGirl3ON
  381.     wait .5
  382.     if (the mousedown) then 
  383.       exit repeat
  384.     end if
  385.     MournGirl1Off
  386.     MournGirl2ON
  387.     set the castnum of sprite 11 = gAnimationcast1+1
  388.     wait .5
  389.     MournGirl2Off
  390.     set the castnum of sprite 11 = gAnimationcast1
  391.     if (the mousedown) then 
  392.       exit repeat
  393.     end if
  394.     wait .8
  395.     MournGirl1ON
  396.     MournGirl3Off
  397.     wait .5
  398.     if (the mousedown) then 
  399.       exit repeat
  400.     end if
  401.     MournGirl1Off
  402.     MournGirl2ON
  403.     MournGirl3ON
  404.     wait .8
  405.     MournGirl2Off
  406.     MournGirl3Off
  407.     if (the mousedown) then 
  408.       exit repeat
  409.     end if
  410.     wait .5
  411.     set count = count + 1
  412.   end repeat
  413.   puppetsprite 9, false
  414.   puppetsprite 10, false
  415.   puppetsprite 11, false
  416.   puppetsound 0
  417.   set gBeenClicked = 0
  418. end
  419.  
  420. on MournGirl1ON
  421.   set the locH of sprite 9 to 412
  422.   set the locV of sprite 9 to 258
  423.   updatestage
  424. end
  425. on MournGirl2ON
  426.   set the locH of sprite 10 to 577
  427.   set the locV of sprite 10 to 339
  428.   updatestage
  429. end
  430. on MournGirl3ON
  431.   set the locH of sprite 11 to 590
  432.   set the locV of sprite 11 to 253
  433.   updatestage
  434. end
  435. on MournGirl1Off
  436.   set the locH of sprite 9 to -412
  437.   updatestage
  438. end
  439. on MournGirl2Off
  440.   set the locH of sprite 10 to -577
  441.   updatestage
  442. end
  443. on MournGirl3Off
  444.   set the locH of sprite 11 to -590
  445.   updatestage
  446. end
  447.